package org.xlh.springboot.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.xlh.springboot.service.UserService;

@Slf4j
@Service
public class UserServiceImpl implements UserService {
    @Override
    public String findById() {
        log.trace("这是UserServiceImpl的trace日志");
        log.info("这是UserServiceImpl的info日志");
        log.debug("这是UserServiceImpl的debug日志");
        log.warn("这是UserServiceImpl的warn日志");
        log.error("这是UserServiceImpl的error日志");
        return "测试日志的粗细粒度";
    }
}
